#!/bin/bash

UVAL=$(uname -r)
UNAME="3.8.13-bone50"

if [ $UVAL = $UNAME ] ; then
	echo 'equal'
	rmmod 8021q
	cp ../8021q/8021q-8100.ko /lib/modules/$UVAL/kernel/net/8021q/8021q.ko
	modprobe 8021q
fi
